package com.gtw.modules.sys.service;

import com.gtw.modules.entity.TbClearingDetails;

import java.util.List;
import java.util.Map;

/**
 * Created by wuye on 2018/3/27.
 */
public interface SysTbClearingDetailsService {

    int deleteByPrimaryKey(Integer id);

    int insert(TbClearingDetails record);

    int insertSelective(TbClearingDetails record);

    TbClearingDetails selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbClearingDetails record);

    int updateByPrimaryKey(TbClearingDetails record);

    List<TbClearingDetails> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);


    List<TbClearingDetails> queryByUserIdAndState(Map<String, Object> map);
}
